package com.zdxlz.fcmp.upms.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Schema(description = "菜单VO")
@Data
@EqualsAndHashCode(callSuper = false)
public class SystemMenuTreeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "菜单路径")
    private String path;

    @Schema(description = "布局方式")
    private String component;

    @Schema(description = "元数据")
    private Meta meta;

    @Schema(description = "children")
    private List<SystemMenuTreeVo> children;

}
